<?php
/** @var ContactosController $this */
/** @var Contactos $data */
?>
<div class="view">
                    
        <?php if (!empty($data->nombres)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('nombres')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->nombres); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->apellidos)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('apellidos')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->apellidos); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->documento)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('documento')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->documento); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->telefono)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('telefono')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->telefono); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->celular)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('celular')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->celular); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->rating)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('rating')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->rating); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->reputacion)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('reputacion')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->reputacion); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->direcciones->calle_principal)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('direcciones_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->direcciones->calle_principal); ?>
            </div>
        </div>

        <?php endif; ?>
    </div>